package com.hk.springbootmybatisplus;

import com.hk.springbootmybatisplus.config.MySwagger2Config;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * spring boot 整合mybatis plus的spring boot应用启动程序
 * @author 何坤
 * @date 2019/09/28 14:17
 */
@SpringBootApplication
@MapperScan("com.hk.springbootmybatisplus.mapper")
@EnableSwagger2
public class SpringBootMybatisPlusApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootMybatisPlusApplication.class, args);
    }

}
